OnboardTracker

Onboard tracker peripheral for drones.

This peripheral can be obtained from a drone using:

drone.getPeripheral(OnboardTracker.class)

See also

Peripheral.Provider

Types

Link copied to clipboard
Request status returned by the drone in response to a tracking request.
Link copied to clipboard
interface Target
Details on a tracked target.
Link copied to clipboard
Tracking engine state.
Link copied to clipboard
interface TrackingRequest
Request for target tracking.

Functions

Link copied to clipboard
Adds a new target to track.
Link copied to clipboard
Gets the latest request status returned by the drone in response to a tracking request.
Link copied to clipboard
Gets the targets currently managed by the drone.
Link copied to clipboard
Gets the tracking engine state.
Link copied to clipboard
abstract fun isAvailable(): Boolean
Tells if tracking feature is available.
Link copied to clipboard
abstract fun removeAllTargets()
Removes all targets.
Link copied to clipboard
abstract fun removeTarget(targetId: Int)
Removes specific target from tracking.
Link copied to clipboard
Replaces current targets by a new target.
Link copied to clipboard
abstract fun startTrackingEngine(withBoxProposals: Boolean)
Starts the tracking engine.
Link copied to clipboard
abstract fun stopTrackingEngine()
Stops the tracking engine.